package net.zjitc.api;

import java.util.Scanner;

/**
 * @author 李广彦
 * @date 2019-03-28-22：27
 */
public class StringFlipTest {
    public static void main(String[] args) {
        System.out.println("请输入一个字符串：");
        Scanner scanner=new Scanner(System.in);
        String  s=scanner.nextLine();
        char[] d=s.toCharArray();
        StringBuffer stringBuffer=new StringBuffer(String.valueOf(d));
        System.out.println(stringBuffer.reverse());
    }
}
